class SceneTitle extends GuaScene {
    constructor(game) {
        super(game)
        var self = this
        self.game = game
        game.registerAction('k', function() {
            self.game.runWithScene("main")

        })
        game.registerAction('e', function() {
            self.game.replaceSceneByName("editor")

        })
    }


    draw() {
        this.game.context.strokeText('按 k 开始游戏, 按 e 编辑关卡', 20, 250)
    }

}